package com.mydesign.demo.model;




public enum ReturnMsg {
    SUCCESS("0", "成功"),
    PERMISSIONS("10001", "权限不足"),
    NOTLOGIN("10002", "暂未登录"),
    EXCEPTION3("10003", "3*******异常"),
    EXCEPTION4("10004", "4*******异常"),
    EXCEPTION5("10005", "5*******异常"),
    ERROR("-1", "失败");


    private String code;

    private String msg;

    private ReturnMsg (String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }

}
